package hy.cfg;

import com.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Import({Stu.class, HelloCfg.class, MySelector.class,Regist.class})
@Configuration
public class MyCfg {
    @Bean("ccccccccccccccccccccccccc")
    public C getC(){
        return new C();
    }

    @Bean
    public D getD(C c){
        return new D();
    }
}
